WhaleHOUDINI

.. /clair

Quick Usage

For this tool the run command is:

docker run -d --name clair-db arminc/clair-db:latest && docker run -p 6060:6060 --link clair-db:postgres -d --name clair arminc/clair-local-scan:v2.0.8_fe9b059d930314b54c78f75afe265955faf4fdc1

Categories

code-auditdockermalware

Description

Clair is an open source project for the static analysis of vulnerabilities in application containers (currently including OCI and docker).

Clients use the Clair API to index their container images and can then match it against known vulnerabilities.

The book contains all the documentation on Clair's architecture and operation.

Cheatsheat

To run a local scanner:

docker run -d --name clair-db arminc/clair-db:latest
docker run -p 6060:6060 --link clair-db:postgres -d --name clair arminc/clair-local-scan:v2.0.8_fe9b059d930314b54c78f75afe265955faf4fdc1

Download clair-scanner and execute the image:

clair-scanner --clair=http://YOUR_LOCAL_IP:6060 --ip=YOUR_LOCAL_IP nginx:1.11.6-alpine  

Official Documentation

Reference: https://github.com/arminc/clair-local-scan

SecSI LogoHOUDINI

© 2025 — Made with ❤️ bySecSI